class Cylinder
{
	double radius;
	double height;
	public Cylinder (double radius, double height)
	{
		this.radius=radius;
		this.height=height;
	}
	
	public double getVolume()
	{
		double volume=Math.PI * radius * radius * height;
		return volume;
	}
	
	public double getSA ()
	{
		double sa=(2 * Math.PI * radius * radius) + (2 * Math.PI * radius * height);
		return sa;
	}
}